// 省略号
@mixin ellipsis($row:1) {
  overflow: hidden;
  text-overflow: ellipsis;

  @if $row>1 {
    display: -webkit-box;
    -webkit-line-clamp: $row;
    -webkit-box-orient: vertical;
    word-break: break-all;
    white-space: pre-wrap;
  }

  @else {
    white-space: nowrap;
  }
}
